package com.ruoyi.creditlife.service;

import com.ruoyi.creditlife.domain.Parking;

import java.util.List;

/**
 * parkingService接口
 * 
 * @author ddd
 * @date 2025-06-30
 */
public interface IParkingService 
{
    /**
     * 查询parking
     * 
     * @param id parking主键
     * @return parking
     */
    public Parking selectParkingById(Long id);

    /**
     * 查询parking列表
     * 
     * @param parking parking
     * @return parking集合
     */
    public List<Parking> selectParkingList(Parking parking);

    /**
     * 新增parking
     * 
     * @param parking parking
     * @return 结果
     */
    public int insertParking(Parking parking);

    /**
     * 修改parking
     * 
     * @param parking parking
     * @return 结果
     */
    public int updateParking(Parking parking);

    /**
     * 批量删除parking
     * 
     * @param ids 需要删除的parking主键集合
     * @return 结果
     */
    public int deleteParkingByIds(Long[] ids);

    /**
     * 删除parking信息
     * 
     * @param id parking主键
     * @return 结果
     */
    public int deleteParkingById(Long id);
}
